home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 12732 < prev    next >
Mailbox/MIME Entity  |  1996-08-05  |  2.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, ASCII text default
100% checkBytes Printable ASCII default
100% dexmagic PrintFox/Pagefox WEAK default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 69 64 | 69 72 2e 6e 65 74 21 75 |Path: id|ir.net!u|
|00000010| 73 65 6e 65 74 0a 46 72 | 6f 6d 3a 20 22 4d 61 72 |senet.Fr|om: "Mar|
|00000020| 74 69 6e 20 4c 2e 20 43 | 6f 6d 70 74 6f 6e 22 20 |tin L. C|ompton" |
|00000030| 3c 6d 61 72 74 69 6e 63 | 40 69 64 69 72 2e 6e 65 |<martinc|@idir.ne|
|00000040| 74 3e 0a 4e 65 77 73 67 | 72 6f 75 70 73 3a 20 63 |t>.Newsg|roups: c|
|00000050| 6f 6d 70 2e 6c 61 6e 67 | 2e 63 2b 2b 2c 63 6f 6d |omp.lang|.c++,com|
|00000060| 70 2e 6c 61 6e 67 2e 70 | 61 73 63 61 6c 2e 64 65 |p.lang.p|ascal.de|
|00000070| 6c 70 68 69 2e 6d 69 73 | 63 0a 53 75 62 6a 65 63 |lphi.mis|c.Subjec|
|00000080| 74 3a 20 52 65 3a 20 43 | 61 6c 6c 69 6e 67 20 61 |t: Re: C|alling a|
|00000090| 6c 6c 20 41 50 49 20 65 | 78 70 65 72 74 73 20 21 |ll API e|xperts !|
|000000a0| 21 0a 44 61 74 65 3a 20 | 54 68 75 2c 20 32 31 20 |!.Date: |Thu, 21 |
|000000b0| 4d 61 72 20 31 39 39 36 | 20 30 37 3a 30 30 3a 34 |Mar 1996| 07:00:4|
|000000c0| 39 20 2d 30 36 30 30 0a | 4f 72 67 61 6e 69 7a 61 |9 -0600.|Organiza|
|000000d0| 74 69 6f 6e 3a 20 49 6e | 74 65 72 6e 65 74 20 54 |tion: In|ternet T|
|000000e0| 72 61 6e 73 61 63 74 69 | 6f 6e 73 20 49 6e 63 2e |ransacti|ons Inc.|
|000000f0| 0a 4d 65 73 73 61 67 65 | 2d 49 44 3a 20 3c 33 31 |.Message|-ID: <31|
|00000100| 35 31 35 33 30 31 2e 35 | 34 34 35 40 69 64 69 72 |515301.5|445@idir|
|00000110| 2e 6e 65 74 3e 0a 52 65 | 66 65 72 65 6e 63 65 73 |.net>.Re|ferences|
|00000120| 3a 20 3c 44 6f 49 4d 47 | 31 2e 46 39 79 40 75 6e |: <DoIMG|1.F9y@un|
|00000130| 78 2e 73 61 73 2e 63 6f | 6d 3e 0a 4e 4e 54 50 2d |x.sas.co|m>.NNTP-|
|00000140| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 70 6f |Posting-|Host: po|
|00000150| 72 74 32 30 2e 69 64 74 | 73 6b 63 31 2e 69 64 69 |rt20.idt|skc1.idi|
|00000160| 72 2e 6e 65 74 0a 4d 69 | 6d 65 2d 56 65 72 73 69 |r.net.Mi|me-Versi|
|00000170| 6f 6e 3a 20 31 2e 30 0a | 43 6f 6e 74 65 6e 74 2d |on: 1.0.|Content-|
|00000180| 54 79 70 65 3a 20 74 65 | 78 74 2f 70 6c 61 69 6e |Type: te|xt/plain|
|00000190| 3b 20 63 68 61 72 73 65 | 74 3d 75 73 2d 61 73 63 |; charse|t=us-asc|
|000001a0| 69 69 0a 43 6f 6e 74 65 | 6e 74 2d 54 72 61 6e 73 |ii.Conte|nt-Trans|
|000001b0| 66 65 72 2d 45 6e 63 6f | 64 69 6e 67 3a 20 37 62 |fer-Enco|ding: 7b|
|000001c0| 69 74 0a 58 2d 4d 61 69 | 6c 65 72 3a 20 4d 6f 7a |it.X-Mai|ler: Moz|
|000001d0| 69 6c 6c 61 20 32 2e 30 | 47 6f 6c 64 42 31 20 28 |illa 2.0|GoldB1 (|
|000001e0| 57 69 6e 4e 54 3b 20 49 | 29 0a 54 6f 3a 20 73 64 |WinNT; I|).To: sd|
|000001f0| 6b 6b 61 68 40 6d 76 73 | 2e 73 61 73 2e 63 6f 6d |kkah@mvs|.sas.com|
|00000200| 0a 43 43 3a 20 6d 61 72 | 74 69 6e 63 40 69 64 69 |.CC: mar|tinc@idi|
|00000210| 72 2e 6e 65 74 0a 0a 73 | 64 6b 6b 61 68 40 6d 76 |r.net..s|dkkah@mv|
|00000220| 73 2e 73 61 73 2e 63 6f | 6d 20 77 72 6f 74 65 3a |s.sas.co|m wrote:|
|00000230| 0a 3e 20 0a 3e 20 48 69 | 2c 20 77 6f 72 6c 64 0a |.> .> Hi|, world.|
|00000240| 3e 20 0a 3e 20 49 20 61 | 6d 20 74 72 79 69 6e 67 |> .> I a|m trying|
|00000250| 20 74 6f 20 6d 61 6b 65 | 20 61 6e 20 61 70 70 6c | to make| an appl|
|00000260| 69 63 61 74 69 6f 6e 20 | 77 69 74 68 20 61 20 74 |ication |with a t|
|00000270| 6f 6f 6c 20 77 68 69 63 | 68 20 6a 75 73 74 20 72 |ool whic|h just r|
|00000280| 65 63 65 6e 74 6c 79 20 | 61 6c 6c 6f 77 65 64 0a |ecently |allowed.|
|00000290| 3e 20 63 61 6c 6c 69 6e | 67 20 57 69 6e 64 6f 77 |> callin|g Window|
|000002a0| 73 20 41 50 49 27 73 2e | 20 54 68 65 20 74 6f 6f |s API's.| The too|
|000002b0| 6c 20 28 54 68 65 20 53 | 41 53 20 53 79 73 74 65 |l (The S|AS Syste|
|000002c0| 6d 29 20 69 74 73 65 6c | 66 20 69 73 20 77 72 69 |m) itsel|f is wri|
|000002d0| 74 74 65 6e 20 69 6e 20 | 43 2b 2b 2e 0a 3e 20 53 |tten in |C++..> S|
|000002e0| 6f 6d 65 20 41 50 49 27 | 73 20 77 6f 72 6b 73 20 |ome API'|s works |
|000002f0| 4f 4b 2c 20 62 75 74 20 | 74 68 65 72 65 27 73 20 |OK, but |there's |
|00000300| 6f 6e 65 20 49 20 63 61 | 6e 74 20 66 69 67 75 72 |one I ca|nt figur|
|00000310| 65 20 6f 75 74 20 68 6f | 77 20 74 6f 20 75 73 65 |e out ho|w to use|
|00000320| 20 72 69 67 68 74 2e 0a | 3e 20 49 74 73 20 63 61 | right..|> Its ca|
|00000330| 6c 6c 65 64 20 47 65 74 | 50 72 6f 66 69 6c 65 53 |lled Get|ProfileS|
|00000340| 74 72 69 6e 67 2e 20 49 | 20 6e 65 65 64 20 74 6f |tring. I| need to|
|00000350| 20 61 63 63 65 73 73 20 | 74 68 65 20 5b 66 6f 6e | access |the [fon|
|00000360| 74 73 5d 20 73 65 63 74 | 69 6f 6e 20 6f 66 20 57 |ts] sect|ion of W|
|00000370| 49 4e 2e 49 4e 49 2c 0a | 3e 20 61 6e 64 20 67 65 |IN.INI,.|> and ge|
|00000380| 74 20 61 6c 6c 20 65 6e | 74 72 69 65 73 20 61 6e |t all en|tries an|
|00000390| 64 20 76 61 6c 75 65 73 | 2e 20 42 75 74 20 49 20 |d values|. But I |
|000003a0| 64 6f 6e 74 20 6b 6e 6f | 77 20 74 68 65 20 6e 75 |dont kno|w the nu|
|000003b0| 6d 62 65 72 20 6f 66 20 | 65 6e 74 72 69 65 73 20 |mber of |entries |
|000003c0| 74 6f 0a 3e 20 72 65 61 | 64 2c 20 73 69 6e 63 65 |to.> rea|d, since|
|000003d0| 20 74 68 69 73 20 6f 62 | 76 69 6f 75 73 6c 79 20 | this ob|viously |
|000003e0| 76 61 72 69 65 73 2e 20 | 49 73 20 74 68 65 72 65 |varies. |Is there|
|000003f0| 20 73 6f 6d 65 20 6b 69 | 6e 64 20 6f 66 20 74 72 | some ki|nd of tr|
|00000400| 69 63 6b 20 74 68 61 74 | 20 77 6f 75 6c 64 0a 3e |ick that| would.>|
|00000410| 20 61 6c 6c 6f 77 20 6d | 65 20 74 6f 20 6c 6f 6f | allow m|e to loo|
|00000420| 70 20 74 68 72 6f 75 67 | 68 20 75 6e 74 69 6c 6c |p throug|h untill|
|00000430| 20 74 68 65 20 6c 61 73 | 74 20 65 6e 74 72 79 20 | the las|t entry |
|00000440| 69 73 20 72 65 61 64 2c | 20 77 69 74 68 6f 75 74 |is read,| without|
|00000450| 20 68 61 76 69 6e 67 20 | 74 6f 0a 3e 20 6b 6e 6f | having |to.> kno|
|00000460| 77 20 74 68 65 20 65 78 | 61 63 74 20 6e 75 6d 62 |w the ex|act numb|
|00000470| 65 72 20 6f 66 20 65 6e | 74 72 69 65 73 20 69 6e |er of en|tries in|
|00000480| 20 65 61 63 68 20 73 65 | 63 74 69 6f 6e 20 3f 0a | each se|ction ?.|
|00000490| 3e 20 0a 3e 20 47 65 74 | 74 69 6e 67 20 74 68 65 |> .> Get|ting the|
|000004a0| 20 66 6f 6e 74 20 6e 61 | 6d 65 73 20 69 73 20 6a | font na|mes is j|
|000004b0| 75 73 74 20 67 65 74 74 | 69 6e 67 20 6d 65 20 68 |ust gett|ing me h|
|000004c0| 61 6c 66 20 74 68 65 20 | 77 61 79 2e 20 49 20 61 |alf the |way. I a|
|000004d0| 6c 73 6f 20 6e 65 65 64 | 20 74 6f 0a 3e 20 6b 6e |lso need| to.> kn|
|000004e0| 6f 77 20 74 68 65 20 70 | 6f 69 6e 74 20 73 69 7a |ow the p|oint siz|
|000004f0| 65 20 61 6e 64 20 70 72 | 6f 70 65 72 74 79 20 28 |e and pr|operty (|
|00000500| 42 6f 6c 64 2c 49 74 61 | 6c 69 63 20 65 74 63 2e |Bold,Ita|lic etc.|
|00000510| 2e 29 2e 20 44 6f 65 73 | 20 61 6e 79 6f 6e 65 20 |.). Does| anyone |
|00000520| 6b 6e 6f 77 0a 3e 20 77 | 68 65 72 65 20 49 20 63 |know.> w|here I c|
|00000530| 61 6e 20 67 65 74 20 74 | 68 69 73 20 69 6e 66 6f |an get t|his info|
|00000540| 72 6d 61 74 69 6f 6e 20 | 3f 0a 3e 20 0a 3e 20 46 |rmation |?.> .> F|
|00000550| 69 6e 61 6c 6c 79 2c 20 | 63 61 6e 20 61 6e 79 6f |inally, |can anyo|
|00000560| 6e 65 20 72 65 63 6f 6d | 6d 65 6e 64 20 61 6e 79 |ne recom|mend any|
|00000570| 20 67 6f 6f 64 20 64 6f | 63 75 6d 65 6e 74 61 74 | good do|cumentat|
|00000580| 69 6f 6e 73 20 61 73 20 | 74 6f 20 68 6f 77 0a 3e |ions as |to how.>|
|00000590| 20 57 69 6e 64 6f 77 73 | 20 41 50 49 27 73 20 61 | Windows| API's a|
|000005a0| 72 65 20 64 65 61 6c 74 | 20 77 69 74 68 20 69 6e |re dealt| with in|
|000005b0| 20 67 65 6e 65 72 61 6c | 20 3f 0a 3e 20 0a 3e 20 | general| ?.> .> |
|000005c0| 41 6c 6c 20 6b 69 6e 64 | 20 6f 66 20 68 65 6c 70 |All kind| of help|
|000005d0| 20 69 73 20 61 70 70 72 | 65 63 69 61 74 65 64 2e | is appr|eciated.|
|000005e0| 0a 3e 20 0a 3e 20 43 68 | 65 65 72 73 2c 0a 3e 20 |.> .> Ch|eers,.> |
|000005f0| 4b 61 72 73 74 65 6e 0a | 0a 49 66 20 79 6f 75 20 |Karsten.|.If you |
|00000600| 61 72 65 20 75 73 69 6e | 67 20 57 69 6e 33 32 2e |are usin|g Win32.|
|00000610| 20 75 73 65 20 47 65 74 | 50 72 6f 66 69 6c 65 53 | use Get|ProfileS|
|00000620| 65 63 74 69 6f 6e 2c 20 | 6f 74 68 65 72 77 69 73 |ection, |otherwis|
|00000630| 65 20 75 73 65 20 0a 47 | 65 74 50 72 6f 66 69 6c |e use .G|etProfil|
|00000640| 65 53 74 72 69 6e 67 20 | 77 69 74 68 20 74 68 65 |eString |with the|
|00000650| 20 6c 70 4b 65 79 4e 61 | 6d 65 20 70 61 72 61 6d | lpKeyNa|me param|
|00000660| 65 74 65 72 20 73 65 74 | 20 74 6f 20 4e 55 4c 4c |eter set| to NULL|
|00000670| 2e 0a 0a 54 68 65 20 72 | 65 74 75 72 6e 20 62 75 |...The r|eturn bu|
|00000680| 66 66 65 72 20 63 6f 6e | 74 61 69 6e 73 20 6e 75 |ffer con|tains nu|
|00000690| 6c 6c 20 74 65 72 6d 69 | 6e 61 74 65 64 20 73 74 |ll termi|nated st|
|000006a0| 72 69 6e 67 73 20 66 6f | 72 20 65 61 63 68 20 0a |rings fo|r each .|
|000006b0| 65 6e 74 72 79 2f 76 61 | 6c 75 65 20 69 6e 20 74 |entry/va|lue in t|
|000006c0| 68 65 20 73 65 63 74 69 | 6f 6e 2e 20 20 49 74 20 |he secti|on. It |
|000006d0| 65 6e 64 73 20 77 69 74 | 68 20 61 6e 20 61 64 64 |ends wit|h an add|
|000006e0| 69 74 69 6f 6e 61 6c 20 | 6e 75 6c 6c 20 0a 63 68 |itional |null .ch|
|000006f0| 61 72 61 63 74 65 72 20 | 28 69 2e 65 2e 20 74 77 |aracter |(i.e. tw|
|00000700| 6f 20 63 6f 6e 73 65 63 | 75 74 69 76 65 20 6e 75 |o consec|utive nu|
|00000710| 6c 6c 73 20 6d 65 61 6e | 73 20 65 6e 64 20 6f 66 |lls mean|s end of|
|00000720| 20 62 75 66 66 65 72 29 | 2e 0a 0a 4d 43 0a 2d 2d | buffer)|...MC.--|
|00000730| 20 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | .------|--------|
|00000740| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000750| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000760| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000770| 2d 2d 0a 2d 2d 2d 2d 2d | 2d 2d 0a 4d 61 72 74 69 |--.-----|--.Marti|
|00000780| 6e 20 4c 2e 20 43 6f 6d | 70 74 6f 6e 2c 20 43 20 |n L. Com|pton, C |
|00000790| 53 79 73 74 65 6d 73 20 | 45 6e 67 69 6e 65 65 72 |Systems |Engineer|
|000007a0| 69 6e 67 0a 6d 61 72 74 | 69 6e 63 40 69 64 69 72 |ing.mart|inc@idir|
|000007b0| 2e 6e 65 74 0a 68 74 74 | 70 3a 2f 2f 77 77 77 2e |.net.htt|p://www.|
|000007c0| 69 64 69 72 2e 6e 65 74 | 2f 7e 6d 61 72 74 69 6e |idir.net|/~martin|
|000007d0| 63 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |c.------|--------|
|000007e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000800| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000810| 2d 2d 0a 2d 2d 2d 2d 2d | 2d 2d 0a |--.-----|--. |
+--------+-------------------------+-------------------------+--------+--------+